package com.yuanfeng.commoms.vo.order;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yuanfeng.commoms.vo.goods.GoodsDetailsListVO;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

//订单投诉
@Data
public class OrderComplaintsVO {

    private String complaintsId;

    private Integer complaintsType;

    private Integer id;

    private String complaintsReason;

    private String complaintsVoucher;

    private List complaintsVouchers;

    private String complaintsContact;

    private String complaintsGoodsid;

    private List complaintsGoodsids;

    private String orderId;

    private String sellerVoucher;

    private List sellerVouchers;

    private String sellerReason;

    private Integer complaintsStatus;

    private Integer compensationStatus;

    private Integer revokeNum;

    private Integer fundDestination;

    private BigDecimal compensationAmount;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date failureTime;

    private String userId;

    private Integer shopId;

    private String shopName;

    OrderComplaintsVO correlationComplaint;//关联投诉单

    List<GoodsDetailsListVO> goods;


    private String sellUserId;

    private String userName;
    private BigDecimal retentionMoneyBalance;
    private BigDecimal retentionMoneyLimit;





}
